package com.gome.ocean.dao.model.dsm;

import com.alibaba.druid.pool.DruidDataSource;
import com.gome.ocean.common.enums.DataBaseType;

/**
 * 共用数据源详细
 * 
 * @author haqiaolong 2016年8月11日 下午6:21:33
 * @since 5.0.0
 */
public class CommonDataBaseDetail {

    private String          user;        // 用户名

    private String          pwd;         // 密码

    private String          jdbc;        // 连接串

    private String          dbName;

    private String          ip;

    private String          port;

    private DataBaseType    dataBaseType; // 数据源类型

    private DruidDataSource dataSource;  // 数据源

    public void setDataBaseType(DataBaseType dataBaseType) {
        this.dataBaseType = dataBaseType;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public DataBaseType getDataBaseType() {
        return dataBaseType;
    }

    public String getJdbc() {
        return jdbc;
    }

    public void setJdbc(String jdbc) {
        this.jdbc = jdbc;
    }

    public DruidDataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DruidDataSource dataSource) {
        this.dataSource = dataSource;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }
    
    public String getDbName() {
        return dbName;
    }
    
    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

}
